<template>
  <div class="model-container">
    <el-table tooltip-effect="dark" :data="list" border>
      <el-table-column type="selection" align="center" />
      <el-table-column label="ID" align="center" width="80" prop="id" />
      <el-table-column label="编号" prop="no" />
      <el-table-column label="下单时间" align="center" width="140" prop="createTime" />
      <el-table-column label="操作" align="center" width="200">
        <template v-slot:default="scope">
          <el-button type="primary" size="mini">指派车辆</el-button>
          <el-button type="primary" size="mini">指定司机</el-button>
        </template>
      </el-table-column>
    </el-table>
    <div style="padding-top: 10px;">
      <el-button type="primary">批量指派车辆</el-button>
      <el-button type="primary">批量指定司机</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Order',
  props: {},
  data() {
    return {
      list: [
        {
          id: 1,
          no: '1010101010',
          createTime: '2021-01-01 10:00'
        },
        {
          id: 1,
          no: '1010101010',
          createTime: '2021-01-01 10:00'
        }
      ]
    }
  },
  created() {},
  mounted() {},
  methods: {}
}
</script>
